package com.xiyou.luckdraw.api.dto.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName: UserInfoListDto
 * @Description:
 * @author: limingxing
 * @Date: 2019-10-14 16:01
 */
@Data
@ApiModel(value = "用户列表dto")
public class UserInfoListDto {

    @ApiModelProperty(value="Id")
    private Long id;
    @ApiModelProperty(value="用户Id")
    private Long userId;
    @ApiModelProperty(value="兑换劵张数")
    private Integer tntegralNum;

    @ApiModelProperty(value="答题卷剩余次数(初始化:1)")
    private Integer coupon;
    @ApiModelProperty(value="答题次数")
    private Integer answerCount;

    @ApiModelProperty(value="手机号码")
    private String phone;

    @ApiModelProperty(value="昵称")
    private String nickName;

    @ApiModelProperty(value="联系方式")
    private String contact;

    @ApiModelProperty(value="状态 0：默认，1:启用,2:弃用")
    private Integer enabled;

    @ApiModelProperty(value="头像")
    private String photo;

    @ApiModelProperty(value="生日")
    private String birth;

    @ApiModelProperty(value="性别 2女 1男 ")
    private Integer gender;

    @ApiModelProperty(value="创建时间")
    private Date createTime;

    @ApiModelProperty(value="更新时间")
    private Date updateTime;


    @ApiModelProperty(value="访问时间")
    private String lastTime;
    @ApiModelProperty(value="访问IP")
    private String ipAddress;
    @ApiModelProperty(value="访问次数")
    private Integer visitsSumCount;
}
